package cn.chjyj.sxzsys.other;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;

public class Stest {
    public static void main(String args[]){
        String astr;
        //创建对象接受键盘输入
        InputStreamReader stdr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(stdr);
        try{
            System.out.println("输入：");
            astr = br.readLine();
            System.out.println("you input is :"+astr);
        }catch (Exception ex){
            System.err.println("io 错误");
            ex.printStackTrace();
        }
    }
}
